package cn.epsilon3.domain.e3.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

/**
 * @description 多因子设置参数
 * @author: epsilon3
 * @date: 2023/8/25 9:41
 */
@Data
public class FAVo {

    /**
     * 类型 1邮箱 2验证器
     */
    @ApiModelProperty(value = "类型 1邮箱 2验证器")
    @Range(min = 1,max = 2,message = "双因子类型错误")
    private Integer type;

    /**
     * 绑定邮箱
     */
    @ApiModelProperty(value = "绑定邮箱")
    private String email;

    /**
     * 验证码
     */
    @ApiModelProperty(value = "验证码")
    private String code;
}
